/**
 * StringUtils
 * 
 * 28/12/2013
 * 
 * Copyright GPL
 */
package com.jtmproject.classes;

/**
 * This class is to check strings
 * @author Javier Tejedor
 */
public class StringUtils {

    /**
     * checks if a string can parse to float
     * @param number
     * @return
     */
    public static boolean canParseToFloat(String number){
    	try {
			Float.parseFloat(number);
			return true;
		} catch (Exception e) {
			
		}
    	return false;
    }
}
